package cn.com.greatwall.oauth2.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author herw
 * @Time 2022-01-01 19:33:42
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "greatwall.security")
@RefreshScope
public class SecurityProperties {
    private AuthProperties auth = new AuthProperties();

    private PermitProperties ignore = new PermitProperties();

    private ValidateCodeProperties code = new ValidateCodeProperties();
}
